Next | Prev | Up | Top | Contents | Index
Linking
The linker, ld, combines one or more object files and libraries (in the order specified) into one executable file, performing relocation, external symbol resolutions, and all other required processing. Unless directed otherwise, the linker names the executable file a.out.
This section summarizes the functions of the linker. It also covers how to link a program manually (without using a compiler driver) and how to compile multilanguage programs. Refer to the ld(1) reference page for complete information on the linker. Click the word ld to view this page.
Specifically, this section describes:
- Invoking the Linker Manually
-
- Linking Assembly Language Programs
-
- Linking Libraries
-
- Linking to Previously Built Dynamic Shared Objects
-
- Linking Multilanguage Programs
-
- Finding an Unresolved Symbol With ld
-
Next | Prev | Up | Top | Contents | Index